package com.crane.oss.sys.bean.request.party;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author bealon
 * @email ccsu123456@qq.com
 * @date 2018年12月28日 19时42分58秒
 */
@Getter
@Setter
@ToString
@ApiModel(description = "修改参数")
public class UpdatePartyRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "组织id", name = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "组织机构中文名称", name = "nameCn")
    @Size(max = 128, message = "nameCn长度超长")
    private String nameCn;

    @ApiModelProperty(value = "省", name = "province")
    private String province;


    @ApiModelProperty(value = "市", name = "city")
    private String city;


    @ApiModelProperty(value = "区", name = "area")
    private String area;


    @ApiModelProperty(value = "联系地址", name = "address")
    private String address;


    @ApiModelProperty(value = "联系电话", name = "telephone")
    private String telephone;

    @ApiModelProperty(value = "updateUserId", name = "创建用户id", hidden = true)
    private Long updateUserId;

    @ApiModelProperty(value = "updatePartyId", name = "创建用户id", hidden = true)
    private Long updatePartyId;
}
